Package-level declarations
Types
Functions
Link copied to clipboard
fun Button(label: String, onClick: () -> Unit, modifier: Modifier = Modifier, iconPainter: Painter? = null, isEnabled: Boolean = true, buttonType: ButtonType = ButtonType.Primary, buttonSize: ButtonSize = ButtonSize.LargeProductive, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() })
Buttons are used to initialize an action. Button labels express what action will occur when the user interacts with it.
Link copied to clipboard
fun IconButton(iconPainter: Painter, onClick: () -> Unit, modifier: Modifier = Modifier, buttonType: ButtonType = ButtonType.Primary, isEnabled: Boolean = true, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() })
Buttons are used to initialize an action. Button labels express what action will occur when the user interacts with it.